Return to doc.sitecore.com

  Web.config changes in Sitecore CMS 6.4.0 rev. 101124 compared to Sitecore CMS 6.4.0 rev. 101012

Select the link below to download the Web.config file of the default Sitecore CMS 6.4.0 rev. 101124 installation:

Notice that in this update, a new setting was added to the Sitecore.WebDAV.config include file, as described below, so you should make changes to both the web.config file and the Sitecore.WebDAV.config file.
Below is the list of changes made to the Web.config file of Sitecore CMS 6.4.0 rev. 101124 as compared to the Web.config file of Sitecore CMS 6.4.0 rev. 101012:

  1. Comments have been added for a number of pipelines. Please refer to the clean web.config if you wish to include these comments in your own web.config.
  2. Add the following event handler to the <events> section. The list of sites should be modified to include the relevant sites for which the cache should be cleared (and should match the list of sites defined for the "publish:end" event handler):
    <event name="publish:end:remote">
      <handler type="Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel" method="ClearCache">
        <sites hint="list">
          <site>website</site>
        </sites>
      </handler>
    </event>
  3. Check if your web.config file contains a "getMediaCreatorOptions" pipeline.
    If not, add the pipeline to the section <pipelines>:
    <getMediaCreatorOptions>
    </getMediaCreatorOptions>
  4. Check if your web.config file contains a "ProfileItemDatabase" setting.
    If not, add the following setting to the section <settings>:
    <!--  PROFILE ITEM DATABASE
          Specifies the database where user profile items are stored (at the following path:
          /sitecore/system/Settings/Security/Profiles)
          Default value: core
    -->
    <setting name="ProfileItemDatabase" value="core" />
  5. Check if you web.config file contains a "XmlControls.OutputDebugFiles" setting.
    If not, add the setting:
    <!--  XmlControls.OutputDebugFiles
          Specifies if the code for compiled XmlControls will be saved as *.cs file.
          If true, the *.cs files will be saved in to the debug folders associated with the XmlControls,
          typically /sitecore/shell/applications/debug or /sitecore/shell/controls/debug.
          Default value: false
    -->
    <setting name="XmlControls.OutputDebugFiles" value="false"/>
  6. Add the following setting to <settings> section of the /App_Config/Include/Sitecore.WebDAV.config file:
    <!-- WEBDAV USE SHORT URL
         Uses a shorter URL format for opening WebDAV folders, using the unique ID of the folder.
         Setting this to false will use the full media library path in the WebDAV URL, which can reduce performance.
         Default value: true
    -->
    <setting name="WebDAV.UseShortURL" value="true"/>